package com.memory.monitor.model.dto.area;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.memory.monitor.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
public class AreaQuerryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 区域名称
     */
    private String areaName;

    /**
     * 区域编码
     */
    private String addressId;

    /**
     * 区域类型
     */
    private String type;

    /**
     * 排序号
     */
    private Integer orderId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDeleted;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
